package demo.builder;

public class 客户 {
    public static void main(String[] args) {
        指挥者 director = new 指挥者();
        AMD amd = new AMD();
        Intel intel = new Intel();
        director.construct(amd);
        System.out.println(amd.getComputer());
        director.construct(intel);
        System.out.println(intel.getComputer());
    }
}
